package com.pickup.mapper;

import com.pickup.pojo.ChatMsg;
import com.pickup.pojo.MyFriends;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;
import tk.mybatis.spring.annotation.MapperScan;

import java.util.ArrayList;

@Mapper
public interface MyFriendsMapper {

    // 查询 两名用户是否好友关系
    MyFriends selectOneByMyFriend(String myUserId, String friendID);

    // 查询 两名用户是否好友关系
    MyFriends selectOneByFriendMy(String friendID, String myUserId);

    // 处理单个好友添加请求
    void insertMyFriends(MyFriends myFriends);

}